Skip to content

Small change - #446

Merged
GooberRF merged 11 commits into
GooberRF:masterfrom
is-this-c:pr+small_change
Aug 30, 2026
Merged

Small change#446
GooberRF merged 11 commits into
GooberRF:masterfrom
is-this-c:pr+small_change

Conversation

@is-this-c

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread game_patch/multi/dedi_cfg.cpp Outdated
std::format_to(iter, " FactionFiles demo delete after send: {}\n", cfg.fflink_demo_delete_after_send);
std::format_to(iter, " Auto-record demos: {}\n", cfg.demo_auto_record);
if (cfg.demo_auto_record) {
std::format_to(iter, " Include chat: {}\n", cfg.demo_chat_record);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This applies to manual recordings too, should not be nested. The other nestings look right.

Comment thread game_patch/CMakeLists.txt
@@ -1,4 +1,4 @@
file(GLOB EXPERIMENTAL_SRCS experimental/*.cpp experimental/*.h)
file(GLOB_RECURSE EXPERIMENTAL_SRCS experimental/*.cpp experimental/*.h)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It allows code in sub-directories so it is useful. I have used it before but I do not use it at the moment. It is easier for me to have it upstream.

output(s.c_str(), nullptr);
}

template <typename... Args>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intended for future use? doesnt seem to be used currently?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be useful or I may use it later in a PR. I already do use it internally.

Comment thread game_patch/input/key.cpp
if (key & rf::KEY_CTRLED) {
key_state[VK_CONTROL] = 0x80;
}
// HACKFIX. Must be set for `ToUnicode` to produce capitalized letters.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this actually a hackfix? Seems no? Isn't this the proper way to do this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a hackfix due to subtle timing issues. The key has been captured at an earlier time. But it is good enough imo.

Comment thread game_patch/graphics/gr_font.cpp Outdated
@is-this-c
is-this-c requested a review from GooberRF August 30, 2026 13:10
Comment thread game_patch/multi/dedi_cfg.cpp Outdated
std::format_to(iter, " Demos:\n");
std::format_to(iter, " Auto-record: {}\n", cfg.demo_auto_record);
std::format_to(iter, " Include chat: {}\n", cfg.demo_chat_record);
std::format_to(iter, " Upload to FactionFiles: {}\n", cfg.fflink_demo_upload);

@GooberRF GooberRF Aug 30, 2026

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only auto recorded demos ever get uploaded to FF, perhaps it would make sense to order them this way:

Demos:
- Include chat
- Auto-record
    - Upload to FF
        - Max size,etc.

@is-this-c
is-this-c requested a review from GooberRF August 30, 2026 15:17
@GooberRF
GooberRF merged commit 0cc69be into GooberRF:master Aug 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants